Cleantalk\Antispam\Integrations\CleantalkPreprocessComment C

Total Complexity 101
Dependencies 6
Dependents 0
Total lines 538
Lines of code 357
Logical lines of code 169
Comment lines 98
Methods 15
Properties 7

Methods 15

Method Rating Maintainability Complexity Lines of code
collectBaseCallData()
C
35 26 72
allow()
B
39 16 67
doSkipReason()
A
49 11 28
doBlock()
A
45 10 39
rerunWPcheckCommentFunction()
A
55 8 19
getEmailAddressesListToNotify()
S
53 6 23
doPrepareActions()
S
51 5 26
setCommentPreStatusAndModifyEmail()
S
58 4 16
doFinalActions()
S
54 3 23
checkMaxCommentsPublishedByUser()
S
59 3 14
doActionsBeforeBaseCall()
S
67 3 7
doNeedSetMeta()
S
63 3 10
getDataForChecking()
S
82 1 3
doActionsBeforeAllowDeny()
S
80 1 3
removeLinksFromComment()
S
70 1 7